import request from '@/utils/request'

const getAllMenu = params => request({ url: '/SysMenu/GetAllMenu', method: 'get', data: params})
const menuEdit = params => request({ url: '/SysMenu/MenuEdit', method: 'post', data: params})
const menuDel = params => request({ url: '/SysMenu/MenuDel', method: 'post', data: params})
const pageMenuButton = params => request({ url: '/SysMenu/PageMenuButton', method: 'get', data: params})
const buttonEdit = params => request({ url: '/SysMenu/ButtonEdit', method: 'post', data: params})
const buttonDel = params => request({ url: '/SysMenu/ButtonDel', method: 'post', data: params})
const pageMenuColumn = params => request({ url: '/SysMenu/pageMenuColumn', method: 'get', data: params})
const columnEdit = params => request({ url: '/SysMenu/columnEdit', method: 'post', data: params})
const columnDel = params => request({ url: '/SysMenu/columnDel', method: 'post', data: params})
export {
  getAllMenu,
  menuEdit,
  menuDel,
  pageMenuButton,
  buttonEdit,
  buttonDel,
  pageMenuColumn,
  columnEdit,
  columnDel
}